package pl.edu.utp.kursy.comparators;

import java.util.Comparator;
import pl.edu.utp.kursy.database.BaseCourse;

public class BaseCourseComparator implements Comparator<BaseCourse>{

    @Override
    public int compare(BaseCourse o1, BaseCourse o2) {
        return o1.getName().compareTo(o2.getName());
    }
}
